import { $http } from '@/utils/http'

class $wx {
  static async wxLogin (data) {
    return await $http.get('/weixin/auth', data)
  }
  static async getAppInfo (data) {
    return await $http.get('/gateway/core/app/v1/api.shop.view.global.setting', data)
  }
}

export {
  $wx
}